package dk.flashnotes.fff.page.part {	import dk.flashnotes.fff.FFFBase;		import org.osflash.thunderbolt.Logger;			/**	 * @author josef	 */	public class PartHolder {		private var _o_oParts : Object = new Object();		public function PartHolder() {		}		public function createPartsFromPartDatas(a_oPartDatas:Array) : void {			for each (var oPD : PartData in a_oPartDatas) {				var cPartType : Class = FFFBase.get_oInstance().get_cPartTypeFromPartTypeAlias(oPD.sPartTemplateAlias);				var oPart : APart = new cPartType(oPD);				if (_o_oParts[oPart.oPartData.sID]==null) {					_o_oParts[oPart.oPartData.sID] = oPart;				} else {					Logger.error("Part with id: " + oPart.oPartData.sID+" alreay exist on page. Please supply uniqe id");				}			}		}				public function get o_oParts() : Object {			return _o_oParts;		}	}}